package com.example.mvvmtest.model;

import com.example.mvvmtest.view_model.MVVMLoadDataCallback;

/**
 * Model层
 */

public class MVVMDataModel {
    public String mData;

    public MVVMDataModel() {
        this.mData = "初始数据";
    }

    public void requestData(MVVMLoadDataCallback callback) {
        this.mData = "数据请求成功";
        callback.onSuccess();
    }
}